import collapse from './collapse/index'
import drag from './drag/index'

const directives = {
  collapse,
  drag
}

export default function install(vue) {
  Object.keys(directives).forEach(key => {
    vue.directive(key, directives[key])
  });
}